{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Epoch 1/500\n",
      "1/1 [==============================] - 0s 163ms/step - loss: 30.3422\n",
      "Epoch 2/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 24.1861\n",
      "Epoch 3/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 19.3364\n",
      "Epoch 4/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 15.5146\n",
      "Epoch 5/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 12.5015\n",
      "Epoch 6/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 10.1249\n",
      "Epoch 7/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 8.2492\n",
      "Epoch 8/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 6.7676\n",
      "Epoch 9/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 5.5963\n",
      "Epoch 10/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 4.6692\n",
      "Epoch 11/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 3.9343\n",
      "Epoch 12/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 3.3508\n",
      "Epoch 13/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 2.8865\n",
      "Epoch 14/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 2.5160\n",
      "Epoch 15/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 2.2195\n",
      "Epoch 16/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 1.9813\n",
      "Epoch 17/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 1.7891\n",
      "Epoch 18/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 1.6331\n",
      "Epoch 19/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 1.5058\n",
      "Epoch 20/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 1.4011\n",
      "Epoch 21/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 1.3142\n",
      "Epoch 22/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 1.2415\n",
      "Epoch 23/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 1.1801\n",
      "Epoch 24/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 1.1276\n",
      "Epoch 25/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 1.0822\n",
      "Epoch 26/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 1.0425\n",
      "Epoch 27/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 1.0073\n",
      "Epoch 28/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.9758\n",
      "Epoch 29/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.9472\n",
      "Epoch 30/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.9210\n",
      "Epoch 31/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.8968\n",
      "Epoch 32/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.8743\n",
      "Epoch 33/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.8530\n",
      "Epoch 34/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.8330\n",
      "Epoch 35/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.8138\n",
      "Epoch 36/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.7955\n",
      "Epoch 37/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.7779\n",
      "Epoch 38/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.7610\n",
      "Epoch 39/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.7446\n",
      "Epoch 40/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.7287\n",
      "Epoch 41/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.7132\n",
      "Epoch 42/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.6982\n",
      "Epoch 43/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.6835\n",
      "Epoch 44/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.6693\n",
      "Epoch 45/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.6553\n",
      "Epoch 46/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.6417\n",
      "Epoch 47/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.6284\n",
      "Epoch 48/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.6154\n",
      "Epoch 49/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.6027\n",
      "Epoch 50/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.5903\n",
      "Epoch 51/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.5781\n",
      "Epoch 52/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.5662\n",
      "Epoch 53/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.5546\n",
      "Epoch 54/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.5431\n",
      "Epoch 55/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.5320\n",
      "Epoch 56/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.5210\n",
      "Epoch 57/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.5103\n",
      "Epoch 58/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.4998\n",
      "Epoch 59/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.4896\n",
      "Epoch 60/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.4795\n",
      "Epoch 61/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.4696\n",
      "Epoch 62/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.4600\n",
      "Epoch 63/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.4505\n",
      "Epoch 64/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 0.4413\n",
      "Epoch 65/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.4322\n",
      "Epoch 66/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.4233\n",
      "Epoch 67/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.4146\n",
      "Epoch 68/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.4061\n",
      "Epoch 69/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.3978\n",
      "Epoch 70/500\n",
      "1/1 [==============================] - 0s 4ms/step - loss: 0.3896\n",
      "Epoch 71/500\n",
      "1/1 [==============================] - 0s 4ms/step - loss: 0.3816\n",
      "Epoch 72/500\n",
      "1/1 [==============================] - 0s 4ms/step - loss: 0.3738\n",
      "Epoch 73/500\n",
      "1/1 [==============================] - 0s 4ms/step - loss: 0.3661\n",
      "Epoch 74/500\n",
      "1/1 [==============================] - 0s 4ms/step - loss: 0.3586\n",
      "Epoch 75/500\n",
      "1/1 [==============================] - 0s 5ms/step - loss: 0.3512\n",
      "Epoch 76/500\n",
      "1/1 [==============================] - 0s 4ms/step - loss: 0.3440\n",
      "Epoch 77/500\n",
      "1/1 [==============================] - 0s 8ms/step - loss: 0.3369\n",
      "Epoch 78/500\n",
      "1/1 [==============================] - 0s 5ms/step - loss: 0.3300\n",
      "Epoch 79/500\n",
      "1/1 [==============================] - 0s 4ms/step - loss: 0.3232\n",
      "Epoch 80/500\n",
      "1/1 [==============================] - 0s 4ms/step - loss: 0.3166\n",
      "Epoch 81/500\n",
      "1/1 [==============================] - 0s 5ms/step - loss: 0.3101\n",
      "Epoch 82/500\n",
      "1/1 [==============================] - 0s 6ms/step - loss: 0.3037\n",
      "Epoch 83/500\n",
      "1/1 [==============================] - 0s 4ms/step - loss: 0.2975\n",
      "Epoch 84/500\n",
      "1/1 [==============================] - 0s 10ms/step - loss: 0.2914\n",
      "Epoch 85/500\n",
      "1/1 [==============================] - 0s 8ms/step - loss: 0.2854\n",
      "Epoch 86/500\n",
      "1/1 [==============================] - 0s 4ms/step - loss: 0.2795\n",
      "Epoch 87/500\n",
      "1/1 [==============================] - 0s 8ms/step - loss: 0.2738\n",
      "Epoch 88/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.2682\n",
      "Epoch 89/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.2626\n",
      "Epoch 90/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.2573\n",
      "Epoch 91/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.2520\n",
      "Epoch 92/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.2468\n",
      "Epoch 93/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.2417\n",
      "Epoch 94/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.2368\n",
      "Epoch 95/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.2319\n",
      "Epoch 96/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.2271\n",
      "Epoch 97/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.2225\n",
      "Epoch 98/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.2179\n",
      "Epoch 99/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.2134\n",
      "Epoch 100/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.2090\n",
      "Epoch 101/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.2047\n",
      "Epoch 102/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.2005\n",
      "Epoch 103/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.1964\n",
      "Epoch 104/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.1924\n",
      "Epoch 105/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.1884\n",
      "Epoch 106/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.1846\n",
      "Epoch 107/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.1808\n",
      "Epoch 108/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.1771\n",
      "Epoch 109/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.1734\n",
      "Epoch 110/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.1699\n",
      "Epoch 111/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 0.1664\n",
      "Epoch 112/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.1630\n",
      "Epoch 113/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.1596\n",
      "Epoch 114/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.1563\n",
      "Epoch 115/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.1531\n",
      "Epoch 116/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.1500\n",
      "Epoch 117/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.1469\n",
      "Epoch 118/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.1439\n",
      "Epoch 119/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.1409\n",
      "Epoch 120/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.1380\n",
      "Epoch 121/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.1352\n",
      "Epoch 122/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.1324\n",
      "Epoch 123/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.1297\n",
      "Epoch 124/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.1270\n",
      "Epoch 125/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.1244\n",
      "Epoch 126/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.1219\n",
      "Epoch 127/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.1194\n",
      "Epoch 128/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.1169\n",
      "Epoch 129/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 0.1145\n",
      "Epoch 130/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.1122\n",
      "Epoch 131/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.1099\n",
      "Epoch 132/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.1076\n",
      "Epoch 133/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.1054\n",
      "Epoch 134/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 0.1032\n",
      "Epoch 135/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.1011\n",
      "Epoch 136/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.0990\n",
      "Epoch 137/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0970\n",
      "Epoch 138/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0950\n",
      "Epoch 139/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0930\n",
      "Epoch 140/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0911\n",
      "Epoch 141/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.0893\n",
      "Epoch 142/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0874\n",
      "Epoch 143/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0856\n",
      "Epoch 144/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0839\n",
      "Epoch 145/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.0822\n",
      "Epoch 146/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.0805\n",
      "Epoch 147/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.0788\n",
      "Epoch 148/500\n",
      "1/1 [==============================] - 0s 4ms/step - loss: 0.0772\n",
      "Epoch 149/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.0756\n",
      "Epoch 150/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.0741\n",
      "Epoch 151/500\n",
      "1/1 [==============================] - 0s 5ms/step - loss: 0.0725\n",
      "Epoch 152/500\n",
      "1/1 [==============================] - 0s 4ms/step - loss: 0.0710\n",
      "Epoch 153/500\n",
      "1/1 [==============================] - 0s 7ms/step - loss: 0.0696\n",
      "Epoch 154/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.0682\n",
      "Epoch 155/500\n",
      "1/1 [==============================] - 0s 8ms/step - loss: 0.0668\n",
      "Epoch 156/500\n",
      "1/1 [==============================] - 0s 5ms/step - loss: 0.0654\n",
      "Epoch 157/500\n",
      "1/1 [==============================] - 0s 8ms/step - loss: 0.0640\n",
      "Epoch 158/500\n",
      "1/1 [==============================] - 0s 8ms/step - loss: 0.0627\n",
      "Epoch 159/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0614\n",
      "Epoch 160/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0602\n",
      "Epoch 161/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0589\n",
      "Epoch 162/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.0577\n",
      "Epoch 163/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0565\n",
      "Epoch 164/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0554\n",
      "Epoch 165/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.0542\n",
      "Epoch 166/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.0531\n",
      "Epoch 167/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 0.0520\n",
      "Epoch 168/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 0.0510\n",
      "Epoch 169/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 0.0499\n",
      "Epoch 170/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0489\n",
      "Epoch 171/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0479\n",
      "Epoch 172/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0469\n",
      "Epoch 173/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0459\n",
      "Epoch 174/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0450\n",
      "Epoch 175/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0441\n",
      "Epoch 176/500\n",
      "1/1 [==============================] - 0s 4ms/step - loss: 0.0432\n",
      "Epoch 177/500\n",
      "1/1 [==============================] - 0s 4ms/step - loss: 0.0423\n",
      "Epoch 178/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.0414\n",
      "Epoch 179/500\n",
      "1/1 [==============================] - 0s 5ms/step - loss: 0.0406\n",
      "Epoch 180/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0397\n",
      "Epoch 181/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0389\n",
      "Epoch 182/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.0381\n",
      "Epoch 183/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0373\n",
      "Epoch 184/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.0366\n",
      "Epoch 185/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.0358\n",
      "Epoch 186/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.0351\n",
      "Epoch 187/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.0344\n",
      "Epoch 188/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 0.0337\n",
      "Epoch 189/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.0330\n",
      "Epoch 190/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.0323\n",
      "Epoch 191/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0316\n",
      "Epoch 192/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0310\n",
      "Epoch 193/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.0303\n",
      "Epoch 194/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.0297\n",
      "Epoch 195/500\n",
      "1/1 [==============================] - 0s 4ms/step - loss: 0.0291\n",
      "Epoch 196/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.0285\n",
      "Epoch 197/500\n",
      "1/1 [==============================] - 0s 4ms/step - loss: 0.0279\n",
      "Epoch 198/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 0.0273\n",
      "Epoch 199/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 0.0268\n",
      "Epoch 200/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.0262\n",
      "Epoch 201/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0257\n",
      "Epoch 202/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0252\n",
      "Epoch 203/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0247\n",
      "Epoch 204/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 0.0241\n",
      "Epoch 205/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0236\n",
      "Epoch 206/500\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1/1 [==============================] - 0s 3ms/step - loss: 0.0232\n",
      "Epoch 207/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0227\n",
      "Epoch 208/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0222\n",
      "Epoch 209/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0218\n",
      "Epoch 210/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0213\n",
      "Epoch 211/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.0209\n",
      "Epoch 212/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0205\n",
      "Epoch 213/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 0.0200\n",
      "Epoch 214/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 0.0196\n",
      "Epoch 215/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0192\n",
      "Epoch 216/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0188\n",
      "Epoch 217/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0184\n",
      "Epoch 218/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0181\n",
      "Epoch 219/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0177\n",
      "Epoch 220/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0173\n",
      "Epoch 221/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.0170\n",
      "Epoch 222/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.0166\n",
      "Epoch 223/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0163\n",
      "Epoch 224/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 0.0159\n",
      "Epoch 225/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0156\n",
      "Epoch 226/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.0153\n",
      "Epoch 227/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0150\n",
      "Epoch 228/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0147\n",
      "Epoch 229/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.0144\n",
      "Epoch 230/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.0141\n",
      "Epoch 231/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.0138\n",
      "Epoch 232/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0135\n",
      "Epoch 233/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.0132\n",
      "Epoch 234/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.0130\n",
      "Epoch 235/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.0127\n",
      "Epoch 236/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0124\n",
      "Epoch 237/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0122\n",
      "Epoch 238/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0119\n",
      "Epoch 239/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.0117\n",
      "Epoch 240/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0114\n",
      "Epoch 241/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0112\n",
      "Epoch 242/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0110\n",
      "Epoch 243/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0107\n",
      "Epoch 244/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.0105\n",
      "Epoch 245/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0103\n",
      "Epoch 246/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0101\n",
      "Epoch 247/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0099\n",
      "Epoch 248/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0097\n",
      "Epoch 249/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0095\n",
      "Epoch 250/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0093\n",
      "Epoch 251/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0091\n",
      "Epoch 252/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 0.0089\n",
      "Epoch 253/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0087\n",
      "Epoch 254/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.0086\n",
      "Epoch 255/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0084\n",
      "Epoch 256/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0082\n",
      "Epoch 257/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0080\n",
      "Epoch 258/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0079\n",
      "Epoch 259/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0077\n",
      "Epoch 260/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0076\n",
      "Epoch 261/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0074\n",
      "Epoch 262/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 0.0072\n",
      "Epoch 263/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0071\n",
      "Epoch 264/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0070\n",
      "Epoch 265/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0068\n",
      "Epoch 266/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 0.0067\n",
      "Epoch 267/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0065\n",
      "Epoch 268/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0064\n",
      "Epoch 269/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.0063\n",
      "Epoch 270/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0061\n",
      "Epoch 271/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0060\n",
      "Epoch 272/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0059\n",
      "Epoch 273/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0058\n",
      "Epoch 274/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0056\n",
      "Epoch 275/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0055\n",
      "Epoch 276/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0054\n",
      "Epoch 277/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0053\n",
      "Epoch 278/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 0.0052\n",
      "Epoch 279/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0051\n",
      "Epoch 280/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0050\n",
      "Epoch 281/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 0.0049\n",
      "Epoch 282/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0048\n",
      "Epoch 283/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 0.0047\n",
      "Epoch 284/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0046\n",
      "Epoch 285/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0045\n",
      "Epoch 286/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0044\n",
      "Epoch 287/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0043\n",
      "Epoch 288/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0042\n",
      "Epoch 289/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0041\n",
      "Epoch 290/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0041\n",
      "Epoch 291/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0040\n",
      "Epoch 292/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 0.0039\n",
      "Epoch 293/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 0.0038\n",
      "Epoch 294/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 0.0037\n",
      "Epoch 295/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0037\n",
      "Epoch 296/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0036\n",
      "Epoch 297/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0035\n",
      "Epoch 298/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 0.0034\n",
      "Epoch 299/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 0.0034\n",
      "Epoch 300/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0033\n",
      "Epoch 301/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0032\n",
      "Epoch 302/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0032\n",
      "Epoch 303/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0031\n",
      "Epoch 304/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0030\n",
      "Epoch 305/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 0.0030\n",
      "Epoch 306/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0029\n",
      "Epoch 307/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0028\n",
      "Epoch 308/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0028\n",
      "Epoch 309/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0027\n",
      "Epoch 310/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0027\n",
      "Epoch 311/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0026\n",
      "Epoch 312/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0026\n",
      "Epoch 313/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 0.0025\n",
      "Epoch 314/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0025\n",
      "Epoch 315/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 0.0024\n",
      "Epoch 316/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0024\n",
      "Epoch 317/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 0.0023\n",
      "Epoch 318/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0023\n",
      "Epoch 319/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0022\n",
      "Epoch 320/500\n",
      "1/1 [==============================] - 0s 72ms/step - loss: 0.0022\n",
      "Epoch 321/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0021\n",
      "Epoch 322/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0021\n",
      "Epoch 323/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0020\n",
      "Epoch 324/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 0.0020\n",
      "Epoch 325/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 0.0020\n",
      "Epoch 326/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0019\n",
      "Epoch 327/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0019\n",
      "Epoch 328/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0018\n",
      "Epoch 329/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 0.0018\n",
      "Epoch 330/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0018\n",
      "Epoch 331/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0017\n",
      "Epoch 332/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0017\n",
      "Epoch 333/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0017\n",
      "Epoch 334/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 0.0016\n",
      "Epoch 335/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 0.0016\n",
      "Epoch 336/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0016\n",
      "Epoch 337/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0015\n",
      "Epoch 338/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0015\n",
      "Epoch 339/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0015\n",
      "Epoch 340/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 0.0014\n",
      "Epoch 341/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0014\n",
      "Epoch 342/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0014\n",
      "Epoch 343/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0013\n",
      "Epoch 344/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0013\n",
      "Epoch 345/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 0.0013\n",
      "Epoch 346/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0013\n",
      "Epoch 347/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0012\n",
      "Epoch 348/500\n",
      "1/1 [==============================] - ETA: 0s - loss: 0.001 - 0s 2ms/step - loss: 0.0012\n",
      "Epoch 349/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0012\n",
      "Epoch 350/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0012\n",
      "Epoch 351/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0011\n",
      "Epoch 352/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 0.0011\n",
      "Epoch 353/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 0.0011\n",
      "Epoch 354/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0011\n",
      "Epoch 355/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0011\n",
      "Epoch 356/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 0.0010\n",
      "Epoch 357/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 0.0010\n",
      "Epoch 358/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 9.8791e-04\n",
      "Epoch 359/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 9.6763e-04\n",
      "Epoch 360/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 9.4775e-04\n",
      "Epoch 361/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 9.2828e-04\n",
      "Epoch 362/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 9.0922e-04\n",
      "Epoch 363/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 8.9054e-04\n",
      "Epoch 364/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 8.7225e-04\n",
      "Epoch 365/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 8.5433e-04\n",
      "Epoch 366/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 8.3678e-04\n",
      "Epoch 367/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 8.1959e-04\n",
      "Epoch 368/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 8.0276e-04\n",
      "Epoch 369/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 7.8627e-04\n",
      "Epoch 370/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 7.7012e-04\n",
      "Epoch 371/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 7.5430e-04\n",
      "Epoch 372/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 7.3881e-04\n",
      "Epoch 373/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 7.2364e-04\n",
      "Epoch 374/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 7.0877e-04\n",
      "Epoch 375/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 6.9421e-04\n",
      "Epoch 376/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 6.7995e-04\n",
      "Epoch 377/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 6.6599e-04\n",
      "Epoch 378/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 6.5230e-04\n",
      "Epoch 379/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 6.3890e-04\n",
      "Epoch 380/500\n",
      "1/1 [==============================] - 0s 64ms/step - loss: 6.2578e-04\n",
      "Epoch 381/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 6.1293e-04\n",
      "Epoch 382/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 6.0034e-04\n",
      "Epoch 383/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 5.8801e-04\n",
      "Epoch 384/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 5.7593e-04\n",
      "Epoch 385/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 5.6410e-04\n",
      "Epoch 386/500\n",
      "1/1 [==============================] - 0s 4ms/step - loss: 5.5251e-04\n",
      "Epoch 387/500\n",
      "1/1 [==============================] - 0s 4ms/step - loss: 5.4116e-04\n",
      "Epoch 388/500\n",
      "1/1 [==============================] - 0s 4ms/step - loss: 5.3005e-04\n",
      "Epoch 389/500\n",
      "1/1 [==============================] - 0s 4ms/step - loss: 5.1916e-04\n",
      "Epoch 390/500\n",
      "1/1 [==============================] - 0s 9ms/step - loss: 5.0850e-04\n",
      "Epoch 391/500\n",
      "1/1 [==============================] - 0s 6ms/step - loss: 4.9805e-04\n",
      "Epoch 392/500\n",
      "1/1 [==============================] - 0s 6ms/step - loss: 4.8782e-04\n",
      "Epoch 393/500\n",
      "1/1 [==============================] - 0s 7ms/step - loss: 4.7780e-04\n",
      "Epoch 394/500\n",
      "1/1 [==============================] - 0s 7ms/step - loss: 4.6799e-04\n",
      "Epoch 395/500\n",
      "1/1 [==============================] - 0s 13ms/step - loss: 4.5838e-04\n",
      "Epoch 396/500\n",
      "1/1 [==============================] - 0s 5ms/step - loss: 4.4896e-04\n",
      "Epoch 397/500\n",
      "1/1 [==============================] - 0s 7ms/step - loss: 4.3974e-04\n",
      "Epoch 398/500\n",
      "1/1 [==============================] - 0s 7ms/step - loss: 4.3071e-04\n",
      "Epoch 399/500\n",
      "1/1 [==============================] - 0s 4ms/step - loss: 4.2186e-04\n",
      "Epoch 400/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 4.1320e-04\n",
      "Epoch 401/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 4.0471e-04\n",
      "Epoch 402/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 3.9640e-04\n",
      "Epoch 403/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 3.8825e-04\n",
      "Epoch 404/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 3.8028e-04\n",
      "Epoch 405/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 3.7247e-04\n",
      "Epoch 406/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 3.6482e-04\n",
      "Epoch 407/500\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1/1 [==============================] - 0s 2ms/step - loss: 3.5732e-04\n",
      "Epoch 408/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 3.4998e-04\n",
      "Epoch 409/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 3.4280e-04\n",
      "Epoch 410/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 3.3575e-04\n",
      "Epoch 411/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 3.2886e-04\n",
      "Epoch 412/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 3.2210e-04\n",
      "Epoch 413/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 3.1549e-04\n",
      "Epoch 414/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 3.0900e-04\n",
      "Epoch 415/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 3.0266e-04\n",
      "Epoch 416/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 2.9644e-04\n",
      "Epoch 417/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 2.9035e-04\n",
      "Epoch 418/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 2.8439e-04\n",
      "Epoch 419/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 2.7855e-04\n",
      "Epoch 420/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 2.7283e-04\n",
      "Epoch 421/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 2.6722e-04\n",
      "Epoch 422/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 2.6173e-04\n",
      "Epoch 423/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 2.5636e-04\n",
      "Epoch 424/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 2.5109e-04\n",
      "Epoch 425/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 2.4593e-04\n",
      "Epoch 426/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 2.4088e-04\n",
      "Epoch 427/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 2.3593e-04\n",
      "Epoch 428/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 2.3109e-04\n",
      "Epoch 429/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 2.2634e-04\n",
      "Epoch 430/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 2.2169e-04\n",
      "Epoch 431/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 2.1714e-04\n",
      "Epoch 432/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 2.1268e-04\n",
      "Epoch 433/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 2.0831e-04\n",
      "Epoch 434/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 2.0403e-04\n",
      "Epoch 435/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 1.9984e-04\n",
      "Epoch 436/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 1.9573e-04\n",
      "Epoch 437/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 1.9171e-04\n",
      "Epoch 438/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 1.8777e-04\n",
      "Epoch 439/500\n",
      "1/1 [==============================] - 0s 4ms/step - loss: 1.8392e-04\n",
      "Epoch 440/500\n",
      "1/1 [==============================] - 0s 4ms/step - loss: 1.8014e-04\n",
      "Epoch 441/500\n",
      "1/1 [==============================] - 0s 5ms/step - loss: 1.7644e-04\n",
      "Epoch 442/500\n",
      "1/1 [==============================] - 0s 5ms/step - loss: 1.7281e-04\n",
      "Epoch 443/500\n",
      "1/1 [==============================] - 0s 4ms/step - loss: 1.6927e-04\n",
      "Epoch 444/500\n",
      "1/1 [==============================] - 0s 5ms/step - loss: 1.6579e-04\n",
      "Epoch 445/500\n",
      "1/1 [==============================] - 0s 6ms/step - loss: 1.6238e-04\n",
      "Epoch 446/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 1.5905e-04\n",
      "Epoch 447/500\n",
      "1/1 [==============================] - 0s 5ms/step - loss: 1.5578e-04\n",
      "Epoch 448/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 1.5258e-04\n",
      "Epoch 449/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 1.4945e-04\n",
      "Epoch 450/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 1.4638e-04\n",
      "Epoch 451/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 1.4337e-04\n",
      "Epoch 452/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 1.4043e-04\n",
      "Epoch 453/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 1.3754e-04\n",
      "Epoch 454/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 1.3472e-04\n",
      "Epoch 455/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 1.3195e-04\n",
      "Epoch 456/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 1.2924e-04\n",
      "Epoch 457/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 1.2658e-04\n",
      "Epoch 458/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 1.2398e-04\n",
      "Epoch 459/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 1.2144e-04\n",
      "Epoch 460/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 1.1894e-04\n",
      "Epoch 461/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 1.1650e-04\n",
      "Epoch 462/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 1.1411e-04\n",
      "Epoch 463/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 1.1176e-04\n",
      "Epoch 464/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 1.0947e-04\n",
      "Epoch 465/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 1.0722e-04\n",
      "Epoch 466/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 1.0502e-04\n",
      "Epoch 467/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 1.0286e-04\n",
      "Epoch 468/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 1.0075e-04\n",
      "Epoch 469/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 9.8676e-05\n",
      "Epoch 470/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 9.6649e-05\n",
      "Epoch 471/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 9.4663e-05\n",
      "Epoch 472/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 9.2719e-05\n",
      "Epoch 473/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 9.0815e-05\n",
      "Epoch 474/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 8.8950e-05\n",
      "Epoch 475/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 8.7124e-05\n",
      "Epoch 476/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 8.5334e-05\n",
      "Epoch 477/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 8.3581e-05\n",
      "Epoch 478/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 8.1865e-05\n",
      "Epoch 479/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 8.0182e-05\n",
      "Epoch 480/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 7.8536e-05\n",
      "Epoch 481/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 7.6923e-05\n",
      "Epoch 482/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 7.5343e-05\n",
      "Epoch 483/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 7.3796e-05\n",
      "Epoch 484/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 7.2279e-05\n",
      "Epoch 485/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 7.0795e-05\n",
      "Epoch 486/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 6.9341e-05\n",
      "Epoch 487/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 6.7916e-05\n",
      "Epoch 488/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 6.6521e-05\n",
      "Epoch 489/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 6.5154e-05\n",
      "Epoch 490/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 6.3817e-05\n",
      "Epoch 491/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 6.2505e-05\n",
      "Epoch 492/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 6.1222e-05\n",
      "Epoch 493/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 5.9963e-05\n",
      "Epoch 494/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 5.8732e-05\n",
      "Epoch 495/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 5.7525e-05\n",
      "Epoch 496/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 5.6344e-05\n",
      "Epoch 497/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 5.5187e-05\n",
      "Epoch 498/500\n",
      "1/1 [==============================] - 0s 1ms/step - loss: 5.4054e-05\n",
      "Epoch 499/500\n",
      "1/1 [==============================] - 0s 3ms/step - loss: 5.2942e-05\n",
      "Epoch 500/500\n",
      "1/1 [==============================] - 0s 2ms/step - loss: 5.1855e-05\n"
     ]
    },
    {
     "data": {
      "text/plain": [
       "<tensorflow.python.keras.callbacks.History at 0x16ec16518>"
      ]
     },
     "execution_count": 5,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "from tensorflow import keras\n",
    "import numpy as np\n",
    "model = keras.Sequential([keras.layers.Dense(units=1, input_shape=[1])])\n",
    "model.compile(optimizer='sgd', loss='mean_squared_error')\n",
    "\n",
    "xs = np.array([-1.0,0.0,1.0,2.0,3.0,4.0],dtype=float)\n",
    "ys = np.array([-3.0,-1.0,1.0,3.0,5.0,7.0],dtype=float)\n",
    "model.fit(xs,ys,epochs=500)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "array([[18.978992]], dtype=float32)"
      ]
     },
     "execution_count": 6,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "model.predict([10.0])"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.7.3"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 4
}
